package com.sun.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private String TAG = "MainActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        View startPic = findViewById(R.id.startPic);
//        new Handler().postDelayed(() -> {
//            Animation animation = AnimationUtils.loadAnimation(MainActivity.this, R.anim.alpha);
//            startPic.startAnimation(animation);
//            new Handler().postDelayed(() -> startPic.setAlpha(0), 1000);
//        }, 1000);

    }


    public void login(View view) {
        startActivity(new Intent(this, HomeActivity.class));
    }

    public void register(View view) {
    }
}